package com.mini.cn.goods.util;

/**
 * Created by fly on 17/5/16.
 */
public class ErrorMsg {

    public final static String RECODEKEY="retcode";
    public final static String RETMSG="retmsg";
    public final static String TIMESRAMP="timestamp";
    public final static String RESPONSEADD="QZOutputJson=";

    public final static int STATUS_OK = 0;
    public final static String MSG_STATUS_OK="成功";

    public final static int STATUS_VERSION_UNSUPPORT = 2001;
    public final static String MSG_VERSION_UNSUPPORT="版本错误";

    public final static int STATUS_ILLEGAL_USER = 2002;
    public final static String MSG_ILLEGAL_USER="不合法用户";

    public final static int STATUS_ILLEGAL_CLIENT = 2003;
    public final static String MSG_ILLEGAL_CLIENT="不合法的客户端";

    public final static int STATUS_ILLEGAL_INTERFACE = 2004;
    public final static String MSG_ILLEGAL_INTERFACE="不合法的接口";

    public final static int STATUS_PARAMETERS_LOST = 2005;
    public final static String MSG_PARAMETERS_LOST="参数丢失";

    public final static int STATUS_INVALID_PARAMETERS = 2006;
    public final static String MSG_INVALID_PARAMETERS="不合法的参数";

    public final static int STATUS_UNSUPPORT_OPERATION =2007;
    public final static String MSG_UNSUPPORT_OPERATION="不合法的操作";

    public final static int STATUS_SESSION_TIMEOUT = 2008;
    public final static String MSG_SESSION_TIMEOUT="SESSION 过期";

    public final static int STATUS_UNSUPPORT_USERINFOPARAMETERS = 2009;
    public final static String MSG_UNSUPPORT_USERINFOPARAMETERS="不支持的格式";


    public final static int STATUS_INVALID_USERSTAT = 2022;
    public final static String MSG_INVALID_USERSTAT="不合法的用户状态";

    public final static int STATUS_ORDER_FAILURE = 2023;
    public final static String MSG_ORDER_FAILURE="购买失败";


    public final static int STATUS_NOT_PERMISSIONS = 2025;
    public final static String MSG_NOT_PERMISSIONS="不允许的行为";


    public final static int STATUS_SERVICE_BUSY = 3002;
    public final static String MSG_SERVICE_BUSY="系统繁忙";

    public final static int STATUS_DATABASE_ERROR = 3004;
    public final static String MSG_DATABASE_ERROR="数据库错误";

    public final static int STATUS_OTHER_ERROR = 3999;
    public final static String MSG_OTHER_ERROR="其他错误";

    public final static int STATUS_WATER_ERROR = 4000;
    public final static String MSG_WATER_ERROR="浇花错误";

    public final static int STATUS_SAO_ERROR = 4001;
    public final static String MSG_SAO_ERROR="选中咖啡错误";

    public final static int STATUS_DOCOFFEE_ERROR = 4003;
    public final static String MSG_DOCOFFEE_ERROR="做咖啡错误";

    public final static int STATUS_GOODSMALL_ERROR = 4002;
    public final static String MSG_GOODSMALL_ERROR="获取所有商品错误";

    public final static int STATUS_LOTTERYTIMEOVER_ERROR = 4003;
    public final static String MSG_LOTTERYTIMEOVER_ERROR="当天的抢购已经结束";

    public final static int STATUS_LOTTERYNOPERMIT_ERROR = 4004;
    public final static String MSG_LOTTERYNOPERMIT_ERROR="一天只能抢一次哦~~";


    public final static int STATUS_GROUPSALE_ERROR = 4005;
    public final static String MSG_GROUPSALE_ERROR="获取团购信息失败";

    public final static int STATUS_GROUPTIMEOUT_ERROR = 4006;
    public final static String MSG_GROUPTIMEOUT_ERROR="已经过了团购时间";
}
